package vn.gq.udv.comic.fragment;

import android.os.Bundle;
import android.widget.Button;
import android.widget.ProgressBar;
import android.widget.TextView;
import vn.gq.udv.comic.R;
import vn.gq.udv.tab.BaseFragment;

public class NoNetworkFragment extends BaseFragment {

	private Button mBtnRetry;
	private TextView tvRetry;
	private ProgressBar mProgressBar;
	
	public static NoNetworkFragment newInstance() {
		NoNetworkFragment f = new NoNetworkFragment();
		Bundle args = new Bundle();
		f.setArguments(args);
		return f;
	}
	
	@Override
	public int getContainerId() {
		return R.id.no_network_container;
	}

	@Override
	public int getLayoutId() {
		return R.layout.no_network_layout;
	}

	@Override
	public void createView() {
		mBtnRetry = (Button) mLayout.findViewById(R.id.btn_reconnect);
		tvRetry = (TextView) mLayout.findViewById(R.id.label_no_network);
		mProgressBar = (ProgressBar) mLayout.findViewById(R.id.loading);
	}

}
